<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <meta name="description" content="">
    <meta name="author" content="">
    <title>订单支付</title>
    <include file="Template/head"/>
<body>
<div class="actNav">
    <div class="doRefresh">订单支付</div>
    <a href="javascript:history.go(-1);" class="back"></a>
    <a href="{:U('Index/index')}" class="home"></a>
</div>
<div class="wapper">
    <form method="post" action="">
        <input id="allPayed" type="hidden" value="{:U('Product/allPayed')}"/>
        <input type="hidden" id="code" value="{$Think.session.allPayedCode}">
        <input id="id" type="hidden" value="{$orderTourList.id}"/>
        <input id="keyid" type="hidden" value="{$orderTourList.id|setEncrypt}"/>
        <input type="hidden" id="account_state" value="{$userInfo.account_state}">

        <div class="module orderList">
            <ul class="list">
                <li>
                    <h3 class="h3t">{$orderTourList.tour_name}</h3>
                    <dl class="clearfix">
                        <dt>
                            <if condition="$productInfo.cover_pic neq ''">
                                <img src="{$coverPic}"/>
                                <else/>
                                <img src="http://cdn.lydlr.com/public/images/temp/1.jpg">
                            </if>
                        </dt>
                        <dd>
                            <p>
                                  <span class="mr">
                                        数量 <dfn>{$orderTourList.client_adult_count}</dfn>
                                  </span>
                            </p>

                            <p class="price">
                                订单金额： <em><dfn>&yen;{$orderTourList.price_total|getYuan}</dfn></em>
                            </p>

                            <p class="price">
                                调整金额： <em><dfn>&yen;{$orderTourList.price_adjust|getYuan}</dfn></em>
                            </p>

                            <p class="price">
                                应付金额： <em><dfn>&yen;{$totalMoney}</dfn></em>
                            </p>

                            <p class="price">
                                特别说明： <em><dfn>{$orderTourList.memo}</dfn></em>
                            </p>

                            <p>
                                <if condition="$orderTourList['state'] eq 3">
                                    <p class="text-center" style="margin-top:10px;"><span
                                            class="text-large text-danger">您确认要支付全款吗</span> &nbsp;&nbsp;<input
                                            type="button" value="确定" class="btn btn-danger btn-sm  proofAgain allPayed">
                                    </p>
                                    <else/>
                                    <dfn>付款成功！您已付全款</dfn>
                                </if>
                            </p>
                        </dd>
                    </dl>
                </li>
            </ul>
        </div>
    </form>
    <div class="modal fade popWin bs-example-modal-sm" id="myModalSuc" tabindex="-1" role="dialog"
         aria-labelledby="myModalLabel" aria-hidden="true">
        <div class="modal-dialog modal-sm">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span
                            aria-hidden="true">&times;</span></button>
                    <h4 class="modal-title" id="myModalLabel">提示</h4>
                </div>
                <div class="modal-body text-center">
                    <p class="tipsBox"><i class="suc"></i>付款成功</p>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-warning doSubmitAllPayed" data-dismiss="modal"
                            aria-label="Close">确认
                    </button>
                    <button type="button" class="btn btn-default doSubmitAllPayed" data-dismiss="modal"
                            aria-label="Close">取消
                    </button>
                </div>
            </div>
        </div>
    </div>
    <footer class="footer">
        <include file="Template/foot"/>
    </footer>
</div>
</body>
</html>
